|
|
|
|
|
|
|
How do I handle API functions that return strings? |
|
|
|
|
|
|
|
|
See Puzzle 10, "Environmentally Speaking," in Part I of this book. |
|
|
|
|
|
|
|
|
What is a double NULL-terminated string and how do I work with it? |
|
|
|
|
|
|
|
|
See Puzzle 10, "Environmentally Speaking," in Part I of this book. |
|
|
|
|
|
|
|
|
How can an API callback function pass a string to a VB function? |
|
|
|
|
|
|
|
|
See Puzzle 24, "Callback That String," in Part I of this book. |
|
|
|
|
|
|
|
|
All about Strings, Arrays, and ANSI-To-Unicode Conversions |
|
|
|
|
|
|
|
|
How do I convert an array containing Unicode characters into a Visual Basic string? |
|
|
|
|
|
|
|
|
See Puzzle 15, "What Time Zone Is It?" in Part I of this book. |
|
|
|
|
|
|
|
|
How do I load a VB string given a pointer to a Unicode string? |
|
|
|
|
|
|
|
|
See Puzzle 27, "Universal Identifiers, Part 3," in Part I of this book. |
|
|
|
|
|
|
|
|
Given a VB string, how do I obtain and load a byte array with the equivalent ANSI string ? |
|
|
|
|
|
|
|
|
See Puzzle 22, "What Is That Mapped Drive? Part 2," in Part I of this book. |
|
|
|
|
|
|
|
|
How do I convert a pointer to an ANSI string into a VB string? |
|
|
|
|
|
|
|
|
See Puzzle 22, "What Is That Mapped Drive? Part 2," in Part I of this book. |
|
|
|
|
|